using System.Collections.Generic;

namespace Medianamik.Client.MVP.Model.DataAccess
{
    public class PagedCollection<T>
    {
        public PagedCollection(IEnumerable<T> collection, int totalCount)
        {
            Collection = collection;
            TotalCount = totalCount;
        }

        public IEnumerable<T> Collection { get; private set; }
        public int TotalCount { get; private set; }
    }
}